package org.sn.jdish.example.string;

public class TestString {

	public static void main(String[] args) {
		String a1 = "abc";
		String a2 = "abc";
		String a3 = new String("abc");
		System.out.println(a1 == a2);
		System.out.println(a1 == a3);
		System.out.println(a1.equals(a2));
		System.out.println(a1.equals(a3));
	}

}
